﻿// Bảo Ngọc
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Web.Services;

namespace ChiaSeThongTinWebService.Interface
{
    [ServiceContract]
    public interface IPost
    {
        [WebMethod]
        POST[] GetPostH(string ID_Host,int stt);

        [WebMethod]
        POST[] GetPostF(string ID_Host, int stt);

        [WebMethod]
        POST[] GetPostP(string ID_Host, int stt);

        [WebMethod]
        NPost GetPost(string ID_Host);

        [WebMethod]
        bool AddPost(POST Npost);

        [WebMethod]
        bool UpdatePost(POST Npost);

        [WebMethod]
        bool DeletePost(string ID);

        [WebMethod]
        bool UnfollowingPost(string ID_Post, string ID_follower);
    }
}
